package cn.tedu.tmall.admin.mall.dao.repository;

import cn.tedu.tmall.admin.mall.pojo.po.GoodsPO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.List;

public interface IGoodsRepository {
    Integer selectTitle(String title);
    Integer save(GoodsPO goodsPO);

    List<GoodsPO> selectAll(QueryWrapper queryWrapper, Integer pageCount, Integer pageSize);

    GoodsPO selectById(Long id);
}
